package com.amigo.online.provider.manager.service;

import java.util.List;


import com.amigo.online.common.core.service.IService;
import com.amigo.online.provider.manager.model.entity.User;


public interface UserService extends IService<User> {

    /**
     * @param page 第几页
     * @param
     * @return
     */
    public List<User> getUserList(User user);

    /**
     * 查询账号是否存在
     *
     * @param account
     * @return
     */
    public boolean selectAccount(String account);

    /**
     * 新增用户
     *
     * @param user
     * @return
     */
    public boolean insertionUser(User user);

    /**
     * 修改用户
     *
     * @param user
     * @return
     */
    public boolean updateUser(User user);


    boolean updateType(User user);
}
